#include "NComponent.h"
#include "NeroEngine\NEntity.h"

using namespace Game;

RTTI_DEFINITIONS(NComponent)

NComponent::NComponent(void)
	:mOwner(NULL),
	 mIsEnabled(false)
{
}

NComponent::~NComponent(void)
{
}

void NComponent::Initialize(Engine::NEntity* owner)
{
	mOwner = owner;
}

void NComponent::Deinitialize()
{
}

void NComponent::Update(float)
{
}

void NComponent::SetData(std::pair<std::string, std::string> data)
{
}

void NComponent::Enable()
{
	mIsEnabled = true;
}

void NComponent::Disable()
{
	mIsEnabled = false;
}